﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Popup.Master" AutoEventWireup="true"
    CodeBehind="RE_RequestDetail.aspx.cs" Inherits="vHCS.K2App.MdlK2.RE_RequestDetail" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Assembly="Core.Controls" Namespace="Core.Controls.Message" TagPrefix="cc1" %>
<%@ Register Assembly="Core.Controls" Namespace="Core.Controls.DataReader" TagPrefix="core" %>
<%@ Register Assembly="Core.Controls" Namespace="Core.Controls.Security" TagPrefix="security" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainToolbar" runat="server">
    <cc1:MessageSetting ID="mssUsedMessageList" runat="server">
        <Items>
            <cc1:Message Code="10003" />
            <cc1:Message Code="10011" />
            <cc1:Message Code="12624" />
        </Items>
    </cc1:MessageSetting>
    <div class="button">
        <asp:Label ID="lblTerminationGuide" runat="server" Text="Xem hướng dẫn "></asp:Label>
        <asp:HyperLink ID="hplTerminationGuide" runat="server" NavigateUrl="http://youtu.be/6apuCaJfFA4"
            Target="_blank" Text="tại đây"></asp:HyperLink>&nbsp;
        <asp:Button ID="btnSave_Top" runat="server" Text="Submit" CssClass="btnSave" OnClick="btnSave_Top_Click"
            ValidationGroup="Save" />
        <asp:Button ID="btnThemMoi_Top" runat="server" Text="Refresh" CssClass="btnRefresh"
            OnClick="btnThemMoi_Top_Click" />
        <%--<asp:Button ID="btnExport_Top" runat="server" Text="Xuất DL" CssClass="btnExport"
            OnClick="btnExport_Top_Click"  ValidationGroup="test"/>--%>
        <%--<asp:Button ID="btnList_Top" runat="server" Text="Danh sách" CssClass="btnList"
            OnClick="btnList_Top_Click" />--%>
    </div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:TextBox ID="txtIDBoPhan" runat="server" Visible="False" />
    <asp:TextBox ID="txtIDPhongBan" runat="server" Visible="False" />
    <asp:TextBox ID="txtIDCongTy" runat="server" Visible="False" />

    <asp:HiddenField ID="hdfPhongBanName" runat="server" />
    <asp:HiddenField ID="hdfBoPhanName" runat="server" />
    <asp:HiddenField ID="hdfIDRequesterRole" runat="server" />
    <asp:HiddenField ID="hdfRequestID" runat="server" />
    <asp:HiddenField ID="Status" runat="server" />
    <asp:HiddenField ID="hdfStatusRequest" runat="server" />
    <asp:HiddenField ID="hdfRole" runat="server" />
    <asp:HiddenField ID="hdfRequestFor" runat="server" />
    <asp:HiddenField ID="hdfJobFamily" runat="server" />
    <asp:HiddenField ID="hdfJobGroup" runat="server" />
    <asp:HiddenField ID="hdfRequestForName" runat="server" />
    <asp:HiddenField ID="hdfPCStandard" runat="server" />
    <div class="controlWrapper">
        <div class="headerSession">
            <asp:Label ID="lblThongtinchung" runat="server" Text="GENERAL INFORMATION"></asp:Label>
        </div>
        <%--<div class="controlWrapper">--%>
        <div class="div4Column" style="text-align: right">
            <asp:HyperLink ID="hplMatchCV_Top" NavigateUrl="#" runat="server" Text="Match CV"
                Visible="False"></asp:HyperLink>
            <asp:HyperLink ID="hplTask_Top" NavigateUrl="#" runat="server" Text="Task" Visible="False"></asp:HyperLink>
            <asp:HyperLink ID="hplPost_Top" NavigateUrl="#" runat="server" Text="Post Job" Visible="False"></asp:HyperLink>
            <div class="divClear">
            </div>
        </div>
        <div style="display: none" id="divRequestor" runat="server">
            <div class="div4Column">
                <div class="label">
                    <asp:Label ID="lblInput" runat="server" Text="Requester Name"></asp:Label>
                </div>
                <div class="control">
                    <telerik:RadComboBox ID="cboNguoiYeuCau" Width="255px" MarkFirstMatch="true" HighlightTemplatedItems="True"
                        DropDownWidth="500px" EnableLoadOnDemand="True" OnItemsRequested="RadComboBox_ItemRequested"
                        OnClientFocus="ShowDropDown" runat="server" DataSourceID="dtsUserList" AllowCustomText="false"
                        OnSelectedIndexChanged="cboNguoiYeuCau_SelectedIndexChanged" AutoPostBack="true"
                        DataTextField="Name" DataValueField="Id">
                        <HeaderTemplate>
                            <ul class="comboHeader">
                                <li class="code">
                                    <asp:Label ID="Label2" runat="server" Text="Code"></asp:Label>
                                </li>
                                <li class="name">
                                    <asp:Label ID="Label3" runat="server" Text="Name"></asp:Label>
                                </li>
                                <li class="divClear"></li>
                            </ul>
                        </HeaderTemplate>
                        <ItemTemplate>
                            <ul class="comboItem">
                                <li class="code">
                                    <%#DataBinder.Eval(Container.DataItem, "Code")%></li>
                                <li class="name">
                                    <%#DataBinder.Eval(Container.DataItem, "Name")%></li>
                            </ul>
                        </ItemTemplate>
                        <FooterTemplate>
                            <div class="comboFooter">
                                <asp:Label ID="Label4" runat="server" Text="Please enter text to show more items"></asp:Label>
                            </div>
                        </FooterTemplate>
                    </telerik:RadComboBox>
                    <core:CoreDataSource ID="dtsUserList" runat="server" SelectMethod="GetComboItemsUser"
                        TypeName="vHCS.RE.Business.RE_RequestCollection" CacheExpirationPolicy="Sliding"
                        EnableCaching="false" MaximumRowsParameterName="">
                        <SelectParameters>
                            <asp:Parameter Name="prefix" DefaultValue="" DbType="String" />
                            <asp:Parameter Name="addNullItem" DefaultValue="true" Type="Boolean" />
                            <asp:Parameter Name="getTop" DefaultValue="true" Type="Boolean" />
                        </SelectParameters>
                    </core:CoreDataSource>
                </div>
                <div class="divClear">
                </div>
            </div>
        </div>
        <div class="div4Column">
            <div class="label">
                <asp:Label ID="Label2" runat="server" Text="Division"></asp:Label>
            </div>
            <div class="control">
                <asp:TextBox ID="txtBoPhan" ReadOnly="True" runat="server" MaxLength="20" CssClass="inputText"
                    Width="250px"></asp:TextBox>
            </div>
            <div class="label">
                <asp:Label ID="Label3" runat="server" Text="Department"></asp:Label>
            </div>
            <div class="control">
                <asp:TextBox ID="txtPhongBan" ReadOnly="True" runat="server" MaxLength="20" CssClass="inputText"
                    Width="250px"></asp:TextBox>
            </div>
            <div class="divClear">
            </div>
        </div>
        <div class="div4Column">
            <div class="label">
                <asp:Label ID="Label4" runat="server" Text="Requester"></asp:Label>
            </div>
            <div class="control">
                <asp:TextBox ID="txtRequester" ReadOnly="True" runat="server" MaxLength="20" CssClass="inputText"
                    Width="250px"></asp:TextBox>
            </div>
            <div class="label">
                <asp:Label ID="Label5" runat="server" Text="Requester Role"></asp:Label>
            </div>
            <div class="control">
                <asp:TextBox ID="txtRequesterRole" ReadOnly="True" runat="server" MaxLength="20"
                    CssClass="inputText" Width="250px"></asp:TextBox>
            </div>
            <div class="divClear">
            </div>
        </div>
        <div class="div4Column">
            <div class="label">
                <asp:Label ID="Label6" runat="server" Text="Request Date"></asp:Label>
                <span class="require">(*)</span>
            </div>
            <div class="control">
                <telerik:RadDatePicker ID="dtpRequestDate" Width="260px" CssClass="datePicker" runat="server">
                </telerik:RadDatePicker>
                <br />
                <asp:RequiredFieldValidator ID="RequiredDate" runat="server" ControlToValidate="dtpRequestDate"
                    ErrorMessage="Please input request date" CssClass="validation" Display="Dynamic"
                    ValidationGroup="Save" SetFocusOnError="True"></asp:RequiredFieldValidator>
            </div>
            <div class="label">
                <asp:Label ID="Label7" runat="server" Text="Expected Date"></asp:Label>
            </div>
            <div class="control">
                <telerik:RadDatePicker ID="dtpExpectedDate" Width="260px" CssClass="datePicker" runat="server">
                </telerik:RadDatePicker>
            </div>
            <div class="divClear">
            </div>
        </div>
        <div style="display: none">
            <div class="div4Column">
                <div class="label">
                    <asp:Label ID="Label8" runat="server" Text="Comment for Close"></asp:Label>
                </div>
                <div class="control">
                    <textarea id="txtGhiChuClose" rows="2" runat="server" style="width: 710px" cols="7"></textarea>
                </div>
                <div class="divClear">
                </div>
            </div>
        </div>
        <div class="headerSession">
            <asp:Label ID="Label1" runat="server" Text="RECRUITMENT INFORMATION"></asp:Label>
        </div>
        <div class="div4Column">
            <div class="label">
                <asp:Label ID="lblChucVu" runat="server" Text="Title/ Role"></asp:Label>
                <span class="require">(*)</span>
            </div>
            <div class="control">
                <telerik:RadComboBox ID="cboChucvu" runat="server" Width="255px" DataSourceID="dtsJobTitle"
                    OnClientFocus="ShowDropDown" DataTextField="Name" DataValueField="ID" AutoPostBack="True"
                    Filter="Contains" EmptyMessage="input title" OnSelectedIndexChanged="cboChucvu_SelectedIndexChanged"
                    OnItemsRequested="RadComboBox_ItemRequested" EnableLoadOnDemand="True" MarkFirstMatch="true"
                    HighlightTemplatedItems="True">
                    <HeaderTemplate>
                        <ul class="comboHeader">
                            <li class="code">
                                <asp:Label ID="Label2" runat="server" Text="Code"></asp:Label>
                            </li>
                            <li class="name">
                                <asp:Label ID="Label3" runat="server" Text="Name"></asp:Label>
                            </li>
                            <li class="divClear"></li>
                        </ul>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <ul class="comboItem">
                            <li class="code">
                                <%#DataBinder.Eval(Container.DataItem, "Code")%>
                            </li>
                            <li class="name">
                                <%#DataBinder.Eval(Container.DataItem, "Name")%>
                            </li>
                        </ul>
                    </ItemTemplate>
                    <FooterTemplate>
                        <div class="comboFooter">
                            <asp:Label ID="Label4" runat="server" Text="Please enter text to show more items"></asp:Label>
                        </div>
                    </FooterTemplate>
                </telerik:RadComboBox>
                <asp:RequiredFieldValidator ID="reqChucVu" runat="server" ControlToValidate="cboChucvu"
                    ErrorMessage="Position is not blank" CssClass="validation" Display="Dynamic"
                    SetFocusOnError="True" ValidationGroup="Save"></asp:RequiredFieldValidator>
                <core:CoreDataSource ID="dtsJobTitle" runat="server" SelectMethod="GetComboItems_ForWR"
                    EnableCaching="false" TypeName="vHCS.LS.Business.LS_JobTitleCollection" MaximumRowsParameterName="">
                    <SelectParameters>
                        <asp:Parameter Name="jobLevelId" DefaultValue="0" DbType="Int64" />
                        <asp:Parameter Name="jobFamilyId" DefaultValue="0" DbType="Int64" />
                        <asp:Parameter Name="jobGroupId" DefaultValue="0" DbType="Int64" />
                        <asp:Parameter Name="subGroupId" DefaultValue="0" DbType="Int64" />
                        <asp:Parameter Name="prefix" DefaultValue="" DbType="String" />
                        <asp:Parameter Name="addNullItem" DefaultValue="true" DbType="Boolean" />
                        <asp:Parameter Name="getTop" DefaultValue="true" DbType="Boolean" />
                        <asp:Parameter Name="effectivedate" DefaultValue="" DbType="DateTime" />
                    </SelectParameters>
                </core:CoreDataSource>
            </div>
            <div class="label">
                <asp:Label ID="Label11" runat="server" Text="Request for department"></asp:Label>
                <span class="require">(*)</span>
            </div>
            <div class="control">
                <telerik:RadComboBox ID="cboDepartment" runat="server" Width="80%" AllowCustomText="false"
                    MarkFirstMatch="true" OnClientFocus="ShowDropDown" DataTextField="Name" DataValueField="Id" Filter="Contains"
                    DataSourceID="dtsDepartment" HighlightTemplatedItems="True" AutoPostBack="true"
                    DropDownWidth="500px" EnableLoadOnDemand="True" OnItemsRequested="RadComboBox_ItemRequested" OnSelectedIndexChanged="cboDepartment_SelectedIndexChanged">
                    <HeaderTemplate>
                        <ul class="comboHeader">
                            <li class="code">
                                <asp:Label ID="Label2" runat="server" Text="Code"></asp:Label>
                            </li>
                            <li class="name">
                                <asp:Label ID="Label3" runat="server" Text="Name"></asp:Label>
                            </li>
                            <li class="divClear"></li>
                        </ul>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <ul class="comboItem">
                            <li class="code">
                                <%#DataBinder.Eval(Container.DataItem, "Code")%></li>
                            <li class="name">
                                <%#DataBinder.Eval(Container.DataItem, "Name")%></li>
                        </ul>
                    </ItemTemplate>
                    <FooterTemplate>
                        <div class="comboFooter">
                            <asp:Label ID="Label4" runat="server" Text="Please enter text to show more items"></asp:Label>
                        </div>
                    </FooterTemplate>
                </telerik:RadComboBox>
                <div class="divClear"></div>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="cboDepartment"
                    ErrorMessage="Please input deparment" CssClass="validation" Display="Dynamic"
                    ValidationGroup="Save" SetFocusOnError="True"></asp:RequiredFieldValidator>
                <core:CoreDataSource ID="dtsDepartment" runat="server" SelectMethod="GetComboDeptHead"
                    TypeName="vHCS.HR.Business.HIE_HierarchyCollection" MaximumRowsParameterName="">
                    <SelectParameters>
                        <asp:Parameter Name="UserName" DefaultValue="" DbType="String" />
                    </SelectParameters>
                </core:CoreDataSource>
            </div>
            <div class="divClear">
            </div>
        </div>
        <div class="div4Column" style="display: none">
            <div class="label">
                <asp:Label ID="Label9" runat="server" Text="Job Description"></asp:Label>
            </div>
            <div class="control">
                <telerik:RadComboBox ID="cboMoTa" runat="server" Width="255px" DataSourceID="dtsJD"
                    OnClientFocus="ShowDropDown" DataTextField="Code" DataValueField="ID" AutoPostBack="True"
                    Filter="Contains" OnSelectedIndexChanged="cboMoTa_SelectedIndexChanged" OnItemsRequested="RadComboBox_ItemRequested"
                    EnableLoadOnDemand="True" MarkFirstMatch="true" HighlightTemplatedItems="True">
                    <HeaderTemplate>
                        <ul class="comboHeader">
                            <li class="code">
                                <asp:Label ID="Label2" runat="server" Text="Code"></asp:Label>
                            </li>
                            <li class="name">
                                <asp:Label ID="Label3" runat="server" Text="Name"></asp:Label>
                            </li>
                            <li class="divClear"></li>
                        </ul>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <ul class="comboItem">
                            <li class="code">
                                <%#DataBinder.Eval(Container.DataItem, "Code")%>
                            </li>
                            <li class="name">
                                <%#DataBinder.Eval(Container.DataItem, "Name")%>
                            </li>
                        </ul>
                    </ItemTemplate>
                    <FooterTemplate>
                        <div class="comboFooter">
                            <asp:Label ID="Label4" runat="server" Text="Please enter text to show more items"></asp:Label>
                        </div>
                    </FooterTemplate>
                </telerik:RadComboBox>
                <core:CoreDataSource ID="dtsJD" runat="server" SelectMethod="getJobComboItem" TypeName="vHCS.RE.Business.RE_RequestCollection"
                    EnableCaching="False" MaximumRowsParameterName="">
                    <SelectParameters>
                        <asp:Parameter Name="AddNullItem" DefaultValue="true" DbType="Boolean" />
                        <asp:ControlParameter Name="Jobtitle" ControlID="cboChucvu" PropertyName="SelectedValue"
                            DbType="Int64" />
                    </SelectParameters>
                </core:CoreDataSource>
            </div>
            <div class="label">
                <asp:Label ID="lblTenJob" runat="server" Text="Job Name"></asp:Label>
            </div>
            <div class="control">
                <asp:TextBox ID="txtTenJob" runat="server" MaxLength="20" AutoPostBack="True" CssClass="inputText"
                    Width="250px"></asp:TextBox>
            </div>
            <div class="divClear">
            </div>
        </div>
        <div class="div4Column">
            <div class="label">
                <asp:Label ID="lblCapBac" runat="server" Text="Level"></asp:Label>
                <span class="require">(*)</span>
            </div>
            <div class="control">
                <telerik:RadComboBox ID="cboCapbac" runat="server" Width="255px" AllowCustomText="false"
                    MarkFirstMatch="true" OnClientFocus="ShowDropDown" DataTextField="Name" DataValueField="Id"
                    DataSourceID="dtsJobLevel" AutoPostBack="true" OnSelectedIndexChanged="cboCapbac_SelectedIndexChanged">
                </telerik:RadComboBox>
                <br />
                <asp:RequiredFieldValidator ID="ReqCapbac" runat="server" ControlToValidate="cboCapbac"
                    ErrorMessage="Level is not blank" CssClass="validation" Display="Dynamic" ValidationGroup="Save"></asp:RequiredFieldValidator>
                <core:CoreDataSource ID="dtsJobLevel" runat="server" SelectMethod="GetComboItems_ByJotitle"
                    TypeName="vHCS.LS.Business.LS_JobLevelCollection" MaximumRowsParameterName="">
                    <SelectParameters>
                        <asp:Parameter Name="p_strPrefix" DefaultValue="" DbType="String" />
                        <asp:Parameter Name="p_bAddNullItem" DefaultValue="false" DbType="Boolean" />
                        <asp:Parameter Name="p_bGetTop" DefaultValue="false" DbType="Boolean" />
                        <asp:Parameter Name="jobtitle" DefaultValue="0" DbType="Int64" />
                        <asp:Parameter Name="effectivedate" DefaultValue="" DbType="DateTime" />
                    </SelectParameters>
                </core:CoreDataSource>
            </div>
            <div class="divClear">
            </div>
        </div>
        <div style="display: none">
            <div class="div4Column">
                <div class="label">
                    <asp:Label ID="lblSoftSkill" runat="server" Text="Soft Skill"></asp:Label>
                </div>
                <div class="control">
                    <telerik:RadToolTip ID="rttSoftSkill" runat="server" TargetControlID="cboSoftSkill"
                        Text="">
                    </telerik:RadToolTip>
                    <telerik:RadComboBox runat="server" ID="cboSoftSkill" Width="255px" ValidationGroup="Save"
                        AllowCustomText="false" EnableLoadOnDemand="true" MarkFirstMatch="true" DataTextField="Name"
                        DataValueField="ID" DataSourceID="dtsSoftSkill" OnClientSelectedIndexChanging="SoftSkill.OnClientSelectedIndexChanging"
                        OnClientLoad="SoftSkill.OnClientLoad" OnClientDropDownClosed="tooltip_SoftSkill.SetToolTip_OrChart"
                        OnClientDropDownClosing="SoftSkill.OnClientDropDownClosing" OnClientBlur="SoftSkill.OnClientBlur"
                        OnClientTextChange="SetEmpty">
                        <ItemTemplate>
                            <div style="width: 255px">
                                <asp:CheckBox ID="chkSoftSkill" runat="server" Text="" onclick="SoftSkill.OnClick(this,event);" />
                                <%# DataBinder.Eval(Container, "Text") %>
                            </div>
                        </ItemTemplate>
                    </telerik:RadComboBox>
                    <core:CoreDataSource ID="dtsSoftSkill" runat="server" SelectMethod="getSkillComboItem"
                        TypeName="vHCS.RE.Business.LS_MappingJobTitle_SkillCollection" EnableCaching="False"
                        MaximumRowsParameterName="">
                        <SelectParameters>
                            <asp:Parameter Name="type" DefaultValue="2" DbType="Int32" />
                            <asp:Parameter Name="AddNullItem" DefaultValue="false" DbType="Boolean" />
                            <asp:ControlParameter Name="Jobtitle" ControlID="cboChucvu" PropertyName="SelectedValue"
                                DbType="Int64" />
                        </SelectParameters>
                    </core:CoreDataSource>
                </div>
                <div class="label">
                    <asp:Label ID="lblProSkill" runat="server" Text="Professional Skill"></asp:Label>
                </div>
                <div class="control">
                    <telerik:RadToolTip ID="rttProSkill" runat="server" TargetControlID="cboProSkill"
                        Text="">
                    </telerik:RadToolTip>
                    <telerik:RadComboBox runat="server" ID="cboProSkill" Width="255px" ValidationGroup="Save"
                        AllowCustomText="false" EnableLoadOnDemand="true" MarkFirstMatch="true" DataTextField="Name"
                        DataValueField="ID" DataSourceID="dtsProSkill" OnClientSelectedIndexChanging="ProSkill.OnClientSelectedIndexChanging"
                        OnClientLoad="ProSkill.OnClientLoad" OnClientDropDownClosed="tooltip_ProSkill.SetToolTip_OrChart"
                        OnClientDropDownClosing="ProSkill.OnClientDropDownClosing" OnClientBlur="ProSkill.OnClientBlur"
                        OnClientTextChange="SetEmpty">
                        <ItemTemplate>
                            <div style="width: 255px">
                                <asp:CheckBox ID="chkProSkill" runat="server" Text="" onclick="ProSkill.OnClick(this,event);" />
                                <%# DataBinder.Eval(Container, "Text") %>
                            </div>
                        </ItemTemplate>
                    </telerik:RadComboBox>
                    <core:CoreDataSource ID="dtsProSkill" runat="server" SelectMethod="getSkillComboItem"
                        TypeName="vHCS.RE.Business.LS_MappingJobTitle_SkillCollection" EnableCaching="False"
                        MaximumRowsParameterName="">
                        <SelectParameters>
                            <asp:Parameter Name="type" DefaultValue="1" DbType="Int32" />
                            <asp:Parameter Name="AddNullItem" DefaultValue="false" DbType="Boolean" />
                            <asp:ControlParameter Name="Jobtitle" ControlID="cboChucvu" PropertyName="SelectedValue"
                                DbType="Int64" />
                        </SelectParameters>
                    </core:CoreDataSource>
                </div>
                <div class="divClear">
                </div>
            </div>
        </div>
        <div class="div4Column">
            <div class="label">
                <asp:Label ID="lblTrinhDoHocVan" runat="server" Text="Educational Level"></asp:Label>
                <span class="require">(*)</span>
            </div>
            <div class="control">
                <telerik:RadComboBox ID="cboTrinhDoHocVan" runat="server" Width="255px" Rows="3"
                    DataTextField="Name" DataValueField="ID" EnableLoadOnDemand="true" Filter="Contains"
                    DataSourceID="dtsLoaiBangCap">
                </telerik:RadComboBox>
                <core:CoreDataSource ID="dtsLoaiBangCap" runat="server" SelectMethod="GetComboItems_DegreeTypeRR"
                    TypeName="vHCS.HR.Business.HR_DegreeCollection" EnableCaching="False" MaximumRowsParameterName="">
                    <SelectParameters>
                        <asp:Parameter Name="isdegree" DefaultValue="true" DbType="Boolean" />
                        <asp:Parameter Name="AddNullItem" DefaultValue="true" DbType="Boolean" />
                    </SelectParameters>
                </core:CoreDataSource>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="cboTrinhDoHocVan"
                    ErrorMessage="Please input education level." CssClass="validation" Display="Dynamic"
                    ValidationGroup="Save"></asp:RequiredFieldValidator>
            </div>
            <div style="display: none">
                <div class="label">
                    <asp:Label ID="lblNgoaiNgu" runat="server" Text="Language"></asp:Label>
                </div>
                <div class="control">
                    <telerik:RadToolTip ID="rttLanguageSkill" runat="server" TargetControlID="cboLanguageSkill"
                        Text="">
                    </telerik:RadToolTip>
                    <telerik:RadComboBox runat="server" ID="cboLanguageSkill" Width="255px" ValidationGroup="Save"
                        AllowCustomText="false" EnableLoadOnDemand="true" MarkFirstMatch="true" DataTextField="Name"
                        DataValueField="ID" DataSourceID="dtsLanguageSkill" OnClientSelectedIndexChanging="LanguageSkill.OnClientSelectedIndexChanging"
                        OnClientLoad="LanguageSkill.OnClientLoad" OnClientDropDownClosed="tooltip_LanguageSkill.SetToolTip_OrChart"
                        OnClientDropDownClosing="LanguageSkill.OnClientDropDownClosing" OnClientBlur="LanguageSkill.OnClientBlur"
                        OnClientTextChange="SetEmpty">
                        <ItemTemplate>
                            <div style="width: 255px">
                                <asp:CheckBox ID="chkLanguageSkill" runat="server" Text="" onclick="LanguageSkill.OnClick(this,event);" />
                                <%# DataBinder.Eval(Container, "Text") %>
                            </div>
                        </ItemTemplate>
                    </telerik:RadComboBox>
                    <core:CoreDataSource ID="dtsLanguageSkill" runat="server" SelectMethod="GetComboNgoaiNgu"
                        TypeName="vHCS.RE.Business.LS_MappingJobTitle_SkillCollection" EnableCaching="False"
                        MaximumRowsParameterName="">
                        <SelectParameters>
                            <asp:Parameter Name="AddNullItem" DefaultValue="false" DbType="Boolean" />
                        </SelectParameters>
                    </core:CoreDataSource>
                </div>
            </div>
            <div class="divClear">
            </div>
        </div>
        <div class="div4Column">
            <div class="label">
                <asp:Label ID="lblCoCauChuyenMon" runat="server" Text="Professional Chart"></asp:Label>
            </div>
            <div class="control">
                <asp:Panel ID="pnlProChart" runat="server">
                    <telerik:RadToolTip ID="rttProChart_input" runat="server" TargetControlID="cboProChart"
                        Text="" />
                    <telerik:RadComboBox ID="cboProChart" runat="server" Width="717px" DropDownWidth="717px"
                        Filter="Contains" OnClientDropDownOpened="treeProChart.OnClientDropDownOpenedHandler"
                        OnClientFocus="ShowDropDown" EmptyMessage="Select professiional chart" ExpandAnimation-Type="None"
                        OnClientSelectedIndexChanged="tooltip_prochart.SetToolTip_OrChart" CollapseAnimation-Type="None">
                        <ItemTemplate>
                            <div class="noneItem" onclick="treeProChart.noneItemClick(); return false;">
                            </div>
                            <div id="divProChart" onclick="treeProChart.StopPropagation(event);">
                                <telerik:RadTreeView runat="server" ID="trvProChart" Width="100%" OnClientNodeClicking="treeProChart.nodeClicking"
                                    DataFieldID="HierarchyId" DataFieldParentID="ParentId" DataSourceID="dtsProChart"
                                    DataTextField="HierarchyName" DataValueField="HierarchyId">
                                </telerik:RadTreeView>
                            </div>
                            <div class="divButton">
                                <asp:LinkButton ID="btnCollapseAll_Pro" CssClass="treeCollapse" OnClientClick="treeProJobChart.treeCollapseAllNodes(); return false;"
                                    runat="server" Text="Collapse"></asp:LinkButton>
                                <asp:LinkButton ID="btnExpandAll_Pro" CssClass="treeExpand" OnClientClick="treeProJobChart.treeExpandAllNodes(); return false;"
                                    runat="server" Text="Expanse"></asp:LinkButton>
                            </div>
                        </ItemTemplate>
                        <Items>
                            <telerik:RadComboBoxItem Text="" Value="" />
                        </Items>
                        <ExpandAnimation Type="None"></ExpandAnimation>
                        <CollapseAnimation Type="None"></CollapseAnimation>
                    </telerik:RadComboBox>
                    <br />
                    <asp:CustomValidator ID="CustomValidator1" runat="server" CssClass="validation" ValidationGroup="Save"
                        Display="Dynamic" ClientValidationFunction="checkProJob" ErrorMessage="Please select the subgroup of specialized structures.">
                    </asp:CustomValidator>
                    <core:CoreDataSource ID="dtsProChart" runat="server" SelectMethod="FindProChart_ByJobtitle"
                        TypeName="vHCS.HR.Business.HIE_HierarchyCollection" MaximumRowsParameterName="">
                        <SelectParameters>
                            <asp:ControlParameter Name="Jobtitle" ControlID="cboChucvu" PropertyName="SelectedValue"
                                DbType="Int64" />
                            <asp:Parameter Name="prefix" DefaultValue="" DbType="String" />
                            <asp:Parameter Name="effectivedate" DefaultValue="" DbType="DateTime" />
                        </SelectParameters>
                    </core:CoreDataSource>
                </asp:Panel>
            </div>
            <div class="divClear">
            </div>
            <asp:Label ID="lblCanhBaoProChart" runat="server" Visible="False" Text="There is currently no link between structural positions and expertise. Please update the function list."
                CssClass="validation"></asp:Label>
            <div class="divClear">
            </div>
        </div>
        <div class="div4Column">
            <div class="label">
                <asp:Label ID="lblCoCauQuanLy" runat="server" Text="Management Chart"></asp:Label>
            </div>
            <div class="control">
                <asp:Panel ID="pnlMgtChart" runat="server">
                    <telerik:RadToolTip ID="rttMgtChart_Input" runat="server" TargetControlID="cboMgtChart"
                        Text="">
                    </telerik:RadToolTip>
                    <telerik:RadComboBox ID="cboMgtChart" runat="server" Width="717px" DropDownWidth="717px"
                        OnClientFocus="ShowDropDown" OnClientDropDownOpened="treeMgtChart.OnClientDropDownOpenedHandler"
                        OnClientSelectedIndexChanged="tooltip_mgtchart.SetToolTip_OrChart" EmptyMessage="Select management chart"
                        ExpandAnimation-Type="None" CollapseAnimation-Type="None">
                        <ItemTemplate>
                            <div class="noneItem" onclick="treeMgtChart.noneItemClick();">
                            </div>
                            <div id="divMgtChart" onclick="treeMgtChart.StopPropagation(event);">
                                <telerik:RadTreeView runat="server" ID="trvMgtChart" Width="100%" DataFieldID="HierarchyId"
                                    DataFieldParentID="ParentId" DataSourceID="dtsMgtChart" DataTextField="HierarchyName"
                                    DataValueField="HierarchyId" OnClientNodeClicking="treeMgtChart.nodeClicking">
                                </telerik:RadTreeView>
                            </div>
                            <div class="divButton">
                                <asp:LinkButton ID="btnCollapseAll" CssClass="treeCollapse" OnClientClick="treeMgtJobChart.treeCollapseAllNodes(); return false;"
                                    runat="server" Text="Collapse"></asp:LinkButton>
                                <asp:LinkButton ID="btnExpandAll" CssClass="treeExpand" OnClientClick="treeMgtJobChart.treeExpandAllNodes(); return false;"
                                    runat="server" Text="Expanse"></asp:LinkButton>
                            </div>
                        </ItemTemplate>
                        <Items>
                            <telerik:RadComboBoxItem Text="" Value="" />
                        </Items>
                        <ExpandAnimation Type="None"></ExpandAnimation>
                        <CollapseAnimation Type="None"></CollapseAnimation>
                    </telerik:RadComboBox>
                    <core:CoreDataSource ID="dtsMgtChart" runat="server" SelectMethod="FindMgtChart_ByJobtitle"
                        TypeName="vHCS.HR.Business.HIE_HierarchyCollection" MaximumRowsParameterName="">
                        <SelectParameters>
                            <asp:ControlParameter Name="Jobtitle" ControlID="cboChucvu" PropertyName="SelectedValue"
                                DbType="Int64" />
                            <asp:Parameter Name="prefix" DefaultValue="" DbType="String" />
                            <asp:Parameter Name="effectivedate" DefaultValue="" DbType="DateTime" />
                        </SelectParameters>
                    </core:CoreDataSource>
                </asp:Panel>
            </div>
            <div class="divClear">
            </div>
        </div>
        <div class="div4Column" style="display:none">
            <div class="label">
                <asp:Label ID="Label10" runat="server" Text="Sử dụng" Visible="False"></asp:Label>
            </div>
            <div class="control">
                <asp:CheckBox ID="chkSuDung" runat="server" Visible="False" />
            </div>
            <div class="divClear">
            </div>
        </div>

        <div class="div4Column">
            <div class="label" style="visibility: hidden;">
                <asp:Label ID="Label41" runat="server" Text="9"></asp:Label>
            </div>
            <div class="contact" style="margin-top: 5px; margin-left:10px">
                <asp:Label ID="Label42" runat="server" Font-Bold="true" Text="Vietnamese"></asp:Label>
            </div>
            <div class="label" style="visibility: hidden;">
                <asp:Label ID="Label43" runat="server" Text="9"></asp:Label>
            </div>
            <div class="contact" style="margin-top: 5px; margin-left: 30px;">
                <asp:Label ID="Label44" runat="server" Font-Bold="true" Text="English"></asp:Label>
            </div>
            <div class="divClear">
            </div>
        </div>

        <%--Start Mô tả công việc--%>
        <div class="div4Column">
            <div class="label">
                <asp:Label ID="lblMoTa" runat="server" Text="Description"></asp:Label>
                <span class="require">(*)</span>
            </div>
            <div class="merge3">
                <table width="80%">
                    <tr>
                        <td width="50%">
                            <telerik:RadToolTip ID="rttTiengViet" runat="server" TargetControlID="txtMoTaTiengViet"
                                Text="input Vietnamese">
                            </telerik:RadToolTip>
                            <telerik:RadEditor ID="txtMoTaTiengViet" Width="100%" Height="250px" runat="server" MaxTextLength="10000">
                                <Tools>
                                    <telerik:EditorToolGroup>
                                        <telerik:EditorTool Name="Bold" />
                                        <telerik:EditorTool Name="Italic" />
                                        <telerik:EditorTool Name="Underline" />
                                        <telerik:EditorTool Name="Copy" />
                                        <telerik:EditorTool Name="Paste" />
                                        <telerik:EditorTool Name="JustifyLeft" />
                                        <telerik:EditorTool Name="JustifyCenter" />
                                        <telerik:EditorTool Name="JustifyRight" />
                                        <telerik:EditorTool Name="FontName" />
                                        <telerik:EditorTool Name="RealFontSize" Text="Size" />
                                    </telerik:EditorToolGroup>
                                    <telerik:EditorToolGroup>
                                        <telerik:EditorTool Name="InsertParagraph" />
                                        <telerik:EditorTool Name="InsertTable" />
                                        <telerik:EditorTool Name="InsertOrderedList" />
                                        <telerik:EditorTool Name="InsertUnorderedList" />
                                        <telerik:EditorTool Name="InsertSymbol" />
                                    </telerik:EditorToolGroup>
                                </Tools>
                                <CssFiles>
                                    <telerik:EditorCssFile Value="~/Styles/RadEditor.css" />
                                </CssFiles>
                            </telerik:RadEditor>
                        </td>
                        <td width="50%">
                            <telerik:RadToolTip ID="rttTiengAnh" runat="server" TargetControlID="txtMoTaTiengAnh"
                                Text="input English">
                            </telerik:RadToolTip>
                            <telerik:RadEditor ID="txtMoTaTiengAnh" Width="100%" Height="250px" runat="server">
                                <Tools>
                                    <telerik:EditorToolGroup>
                                        <telerik:EditorTool Name="Bold" />
                                        <telerik:EditorTool Name="Italic" />
                                        <telerik:EditorTool Name="Underline" />
                                        <telerik:EditorTool Name="Copy" />
                                        <telerik:EditorTool Name="Paste" />
                                        <telerik:EditorTool Name="JustifyLeft" />
                                        <telerik:EditorTool Name="JustifyCenter" />
                                        <telerik:EditorTool Name="JustifyRight" />
                                        <telerik:EditorTool Name="FontName" />
                                        <telerik:EditorTool Name="RealFontSize" Text="Size" />
                                    </telerik:EditorToolGroup>
                                    <telerik:EditorToolGroup>
                                        <telerik:EditorTool Name="InsertParagraph" />
                                        <telerik:EditorTool Name="InsertTable" />
                                        <telerik:EditorTool Name="InsertOrderedList" />
                                        <telerik:EditorTool Name="InsertUnorderedList" />
                                        <telerik:EditorTool Name="InsertSymbol" />
                                    </telerik:EditorToolGroup>
                                </Tools>
                                <CssFiles>
                                    <telerik:EditorCssFile Value="~/Styles/RadEditor.css" />
                                </CssFiles>
                            </telerik:RadEditor>
                        </td>
                    </tr>
                </table>
            </div>
            <div class="divClear">
            </div>
            <asp:CustomValidator ID="CusMota" runat="server" ErrorMessage="Please input description"
                CssClass="validation" Display="Dynamic" ValidationGroup="Save" ClientValidationFunction="CusMota"></asp:CustomValidator>
            <div class="divClear">
            </div>
        </div>
        <%--End Mô tả công việc--%>
        <%--Start Yêu cầu--%>
        <div class="div4Column">
            <div class="label">
                <asp:Label ID="lblYeuCau" runat="server" Text="Requirement"></asp:Label>
                <span class="require">(*)</span>
            </div>
            <div class="merge3">
                <table width="80%">
                    <tr>
                        <td width="50%">
                            <telerik:RadToolTip ID="rttYeuCauTiengViet" runat="server" TargetControlID="txtYeuCauTiengViet"
                                Text="input Vietnamese">
                            </telerik:RadToolTip>
                            <telerik:RadEditor ID="txtYeuCauTiengViet" Width="100%" Height="250px" runat="server">
                                <Tools>
                                    <telerik:EditorToolGroup>
                                        <telerik:EditorTool Name="Bold" />
                                        <telerik:EditorTool Name="Italic" />
                                        <telerik:EditorTool Name="Underline" />
                                        <telerik:EditorTool Name="Copy" />
                                        <telerik:EditorTool Name="Paste" />
                                        <telerik:EditorTool Name="JustifyLeft" />
                                        <telerik:EditorTool Name="JustifyCenter" />
                                        <telerik:EditorTool Name="JustifyRight" />
                                        <telerik:EditorTool Name="FontName" />
                                        <telerik:EditorTool Name="RealFontSize" Text="Size" />
                                    </telerik:EditorToolGroup>
                                    <telerik:EditorToolGroup>
                                        <telerik:EditorTool Name="InsertParagraph" />
                                        <telerik:EditorTool Name="InsertTable" />
                                        <telerik:EditorTool Name="InsertOrderedList" />
                                        <telerik:EditorTool Name="InsertUnorderedList" />
                                        <telerik:EditorTool Name="InsertSymbol" />
                                    </telerik:EditorToolGroup>
                                </Tools>
                                <CssFiles>
                                    <telerik:EditorCssFile Value="~/Styles/RadEditor.css" />
                                </CssFiles>
                            </telerik:RadEditor>
                        </td>
                        <td width="50%">
                            <telerik:RadToolTip ID="rttYeuCauTiengAnh" runat="server" TargetControlID="txtYeuCauTiengAnh"
                                Text="input EngLish">
                            </telerik:RadToolTip>
                            <telerik:RadEditor ID="txtYeuCauTiengAnh" Width="100%" Height="250px" runat="server">
                                <Tools>
                                    <telerik:EditorToolGroup>
                                        <telerik:EditorTool Name="Bold" />
                                        <telerik:EditorTool Name="Italic" />
                                        <telerik:EditorTool Name="Underline" />
                                        <telerik:EditorTool Name="Copy" />
                                        <telerik:EditorTool Name="Paste" />
                                        <telerik:EditorTool Name="JustifyLeft" />
                                        <telerik:EditorTool Name="JustifyCenter" />
                                        <telerik:EditorTool Name="JustifyRight" />
                                        <telerik:EditorTool Name="FontName" />
                                        <telerik:EditorTool Name="RealFontSize" Text="Size" />
                                    </telerik:EditorToolGroup>
                                    <telerik:EditorToolGroup>
                                        <telerik:EditorTool Name="InsertParagraph" />
                                        <telerik:EditorTool Name="InsertTable" />
                                        <telerik:EditorTool Name="InsertOrderedList" />
                                        <telerik:EditorTool Name="InsertUnorderedList" />
                                        <telerik:EditorTool Name="InsertSymbol" />
                                    </telerik:EditorToolGroup>
                                </Tools>
                                <CssFiles>
                                    <telerik:EditorCssFile Value="~/Styles/RadEditor.css" />
                                </CssFiles>
                            </telerik:RadEditor>
                        </td>
                    </tr>
                </table>
            </div>
            <div class="divClear">
            </div>
            <asp:CustomValidator ID="CustomValidator4" runat="server" ErrorMessage="Please input requirement."
                CssClass="validation" Display="Dynamic" ValidationGroup="Save" ClientValidationFunction="CusRequire"></asp:CustomValidator>
            <div class="divClear">
            </div>
        </div>
        <%--End Yêu cầu--%>
        <%--Start Ưu tiên--%>
        <div class="div4Column">
            <div class="label">
                <asp:Label ID="lblUuTien" runat="server" Text="Preference"></asp:Label>
            </div>
            <div class="merge3">
                <table width="80%">
                    <tr>
                        <td width="50%">
                            <telerik:RadToolTip ID="rttUuTienTiengViet" runat="server" TargetControlID="txtUuTienTiengViet"
                                Text="input Vietnamese">
                            </telerik:RadToolTip>
                            <telerik:RadEditor ID="txtUuTienTiengViet" Width="100%" Height="250px" runat="server">
                                <Tools>
                                    <telerik:EditorToolGroup>
                                        <telerik:EditorTool Name="Bold" />
                                        <telerik:EditorTool Name="Italic" />
                                        <telerik:EditorTool Name="Underline" />
                                        <telerik:EditorTool Name="Copy" />
                                        <telerik:EditorTool Name="Paste" />
                                        <telerik:EditorTool Name="JustifyLeft" />
                                        <telerik:EditorTool Name="JustifyCenter" />
                                        <telerik:EditorTool Name="JustifyRight" />
                                        <telerik:EditorTool Name="FontName" />
                                        <telerik:EditorTool Name="RealFontSize" Text="Size" />
                                    </telerik:EditorToolGroup>
                                    <telerik:EditorToolGroup>
                                        <telerik:EditorTool Name="InsertParagraph" />
                                        <telerik:EditorTool Name="InsertTable" />
                                        <telerik:EditorTool Name="InsertOrderedList" />
                                        <telerik:EditorTool Name="InsertUnorderedList" />
                                        <telerik:EditorTool Name="InsertSymbol" />
                                    </telerik:EditorToolGroup>
                                </Tools>
                                <CssFiles>
                                    <telerik:EditorCssFile Value="~/Styles/RadEditor.css" />
                                </CssFiles>
                            </telerik:RadEditor>
                        </td>
                        <td width="50%">
                            <telerik:RadToolTip ID="rttUuTienTiengAnh" runat="server" TargetControlID="txtUuTienTiengAnh"
                                Text="input English">
                            </telerik:RadToolTip>
                            <telerik:RadEditor ID="txtUuTienTiengAnh" Width="100%" Height="250px" runat="server">
                                <Tools>
                                    <telerik:EditorToolGroup>
                                        <telerik:EditorTool Name="Bold" />
                                        <telerik:EditorTool Name="Italic" />
                                        <telerik:EditorTool Name="Underline" />
                                        <telerik:EditorTool Name="Copy" />
                                        <telerik:EditorTool Name="Paste" />
                                        <telerik:EditorTool Name="JustifyLeft" />
                                        <telerik:EditorTool Name="JustifyCenter" />
                                        <telerik:EditorTool Name="JustifyRight" />
                                        <telerik:EditorTool Name="FontName" />
                                        <telerik:EditorTool Name="RealFontSize" Text="Size" />
                                    </telerik:EditorToolGroup>
                                    <telerik:EditorToolGroup>
                                        <telerik:EditorTool Name="InsertParagraph" />
                                        <telerik:EditorTool Name="InsertTable" />
                                        <telerik:EditorTool Name="InsertOrderedList" />
                                        <telerik:EditorTool Name="InsertUnorderedList" />
                                        <telerik:EditorTool Name="InsertSymbol" />
                                    </telerik:EditorToolGroup>
                                </Tools>
                                <CssFiles>
                                    <telerik:EditorCssFile Value="~/Styles/RadEditor.css" />
                                </CssFiles>
                            </telerik:RadEditor>
                        </td>
                    </tr>
                </table>
            </div>
            <div class="divClear">
            </div>
        </div>
        <br />
        <div class="div4Column">
            <div class="label">
                <asp:Label ID="Label12" runat="server" Text="Reason for Recruitment"></asp:Label>
                <span class="require">(*)</span>
            </div>
            <div class="control">
                <asp:RadioButtonList ID="rdlLyDoTuyen" runat="server" RepeatDirection="Horizontal"
                    onClick="CheckReplace();">
                    <asp:ListItem Value="1" Selected="True">New</asp:ListItem>
                    <asp:ListItem Value="2">Replace</asp:ListItem>
                    <asp:ListItem Value="3">Staff Movement</asp:ListItem>
                </asp:RadioButtonList>
            </div>
            <div id="divReplaceFor" style="display: none">
                <div class="label">
                    <asp:Label ID="Label13" runat="server" Text="Replace for"></asp:Label>
                    <span class="require">(*)</span>
                </div>
                <div class="control">
                    <telerik:RadComboBox ID="cboReplaceFor" runat="server" Width="255px" DataTextField="Name"
                        DataValueField="ID" EnableLoadOnDemand="true" OnItemsRequested="RadComboBox_ItemRequested"
                        AllowCustomText="false" MarkFirstMatch="true" HighlightTemplatedItems="True"
                        DataSourceID="dtsReplaceFor">
                        <HeaderTemplate>
                            <ul class="comboHeader">
                                <li class="code">
                                    <asp:Label ID="Label2" runat="server" Text="Code"></asp:Label>
                                </li>
                                <li class="name">
                                    <asp:Label ID="Label3" runat="server" Text="Name"></asp:Label>
                                </li>
                                <li class="divClear"></li>
                            </ul>
                        </HeaderTemplate>
                        <ItemTemplate>
                            <ul class="comboItem">
                                <li class="code">
                                    <%#DataBinder.Eval(Container.DataItem, "Code")%></li>
                                <li class="name">
                                    <%#DataBinder.Eval(Container.DataItem, "Name")%></li>
                            </ul>
                        </ItemTemplate>
                        <FooterTemplate>
                            <div class="comboFooter">
                                <asp:Label ID="Label4" runat="server" Text="Please enter text to show more items"></asp:Label>
                            </div>
                        </FooterTemplate>
                    </telerik:RadComboBox>
                    <core:CoreDataSource ID="dtsReplaceFor" runat="server" SelectMethod="GetComboUserReplace"
                        TypeName="vHCS.RE.Business.RE_RequestCollection" EnableCaching="False" MaximumRowsParameterName="">
                        <SelectParameters>
                            <asp:Parameter Name="prefix" DefaultValue="" DbType="String" />
                            <asp:Parameter Name="addNullItem" DefaultValue="false" DbType="Boolean" />
                            <asp:Parameter Name="getTop" DefaultValue="true" DbType="Boolean" />
                            <asp:ControlParameter Name="LyDoTuyen" ControlID="rdlLyDoTuyen" DefaultValue="1"
                                PropertyName="SelectedValue" DbType="String" />
                        </SelectParameters>
                    </core:CoreDataSource>
                </div>
                <br />
            </div>
            <div class="divClear">
            </div>
        </div>
        <div class="div4Column">
            <div class="label">
                <asp:Label ID="Label14" runat="server" Text="Quantity"></asp:Label>
                <span class="require">(*)</span>
            </div>
            <div class="control">
                <telerik:RadNumericTextBox ID="txtSoLuongTuyen" runat="server" Type="Number" Width="80%"
                    NumberFormat-DecimalDigits="0" NumberFormat-GroupSeparator="," CssClass="inputText"
                    MaxLength="2" MinValue="1">
                    <EnabledStyle HorizontalAlign="Right" />
                </telerik:RadNumericTextBox>
                <br />
                <asp:RequiredFieldValidator ID="ReqSoLuong" runat="server" ControlToValidate="txtSoLuongTuyen"
                    ErrorMessage="Please input quantity." CssClass="validation" Display="Dynamic"
                    ValidationGroup="Save" SetFocusOnError="True"></asp:RequiredFieldValidator>
            </div>
            <div class="label">
                <asp:Label ID="Label15" runat="server" Text="Working Place"></asp:Label>
                <span class="require">(*)</span>
            </div>
            <div class="control">
                <telerik:RadComboBox ID="cboVanphonglamviec" runat="server" Width="80%" MarkFirstMatch="true"
                    AllowCustomText="false" DataSourceID="dtsOffice" OnClientFocus="ShowDropDown"
                    DataTextField="Name" DataValueField="ID">
                </telerik:RadComboBox>
                <br />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="cboVanphonglamviec"
                    ErrorMessage="Work place is not blank" CssClass="validation" Display="Dynamic"
                    ValidationGroup="Save"></asp:RequiredFieldValidator>
                <core:CoreDataSource ID="dtsOffice" runat="server" SelectMethod="GetComboItems" TypeName="vHCS.LS.Business.LS_WorkPlaceCollection"
                    MaximumRowsParameterName="">
                    <SelectParameters>
                        <asp:Parameter Name="p_strPrefix" DefaultValue="" DbType="String" />
                        <asp:Parameter Name="p_bAddNullItem" DefaultValue="true" DbType="Boolean" />
                        <asp:Parameter Name="p_bGetTop" DefaultValue="false" DbType="Boolean" />
                    </SelectParameters>
                </core:CoreDataSource>
            </div>
            <div class="divClear">
            </div>
        </div>
        <div class="div4Column">
            <div class="label">
                <asp:Label ID="Label16" runat="server" Text="Gender"></asp:Label>
                <span class="require">(*)</span>
            </div>
            <div class="control">
                <asp:RadioButtonList ID="rdlGender" runat="server" RepeatDirection="Horizontal">
                    <asp:ListItem Value="1">Male</asp:ListItem>
                    <asp:ListItem Value="2">Female</asp:ListItem>
                    <asp:ListItem Value="3" Selected="True">Male/Female</asp:ListItem>
                </asp:RadioButtonList>
            </div>
            <div class="label">
                <asp:Label ID="Label17" runat="server" Text="Job Type"></asp:Label>
                <span class="require">(*)</span>
            </div>
            <div class="control">
                <asp:RadioButtonList ID="rdlJobType" runat="server" RepeatDirection="Horizontal">
                    <asp:ListItem Value="1" Selected="True">Full Time</asp:ListItem>
                    <asp:ListItem Value="2">Part Time</asp:ListItem>
                    <asp:ListItem Value="3">Freelance</asp:ListItem>
                </asp:RadioButtonList>
            </div>
            <div class="divClear">
            </div>
        </div>
        <div class="div4Column">
            <div class="label">
                <asp:Label ID="Label18" runat="server" Text="Report to"></asp:Label>
                <span class="require">(*)</span>
            </div>
            <div class="control">
                <telerik:RadComboBox ID="cboReportTo" Width="80%" MarkFirstMatch="true" HighlightTemplatedItems="True"
                    DropDownWidth="500px" EnableLoadOnDemand="True" OnItemsRequested="RadComboBox_ItemRequested"
                    OnClientFocus="ShowDropDown" runat="server" DataSourceID="dtsReportTo" AllowCustomText="false"
                    DataTextField="Name" DataValueField="Id">
                    <HeaderTemplate>
                        <ul class="comboHeader">
                            <li class="code">
                                <asp:Label ID="Label2" runat="server" Text="Code"></asp:Label>
                            </li>
                            <li class="name">
                                <asp:Label ID="Label3" runat="server" Text="Name"></asp:Label>
                            </li>
                            <li class="divClear"></li>
                        </ul>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <ul class="comboItem">
                            <li class="code">
                                <%#DataBinder.Eval(Container.DataItem, "Code")%></li>
                            <li class="name">
                                <%#DataBinder.Eval(Container.DataItem, "Name")%></li>
                        </ul>
                    </ItemTemplate>
                    <FooterTemplate>
                        <div class="comboFooter">
                            <asp:Label ID="Label4" runat="server" Text="Please enter text to show more items"></asp:Label>
                        </div>
                    </FooterTemplate>
                </telerik:RadComboBox>
                <br />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="cboReportTo"
                    ErrorMessage="Please input report to" CssClass="validation" Display="Dynamic"
                    ValidationGroup="Save" SetFocusOnError="True"></asp:RequiredFieldValidator>
                <core:CoreDataSource ID="dtsReportTo" runat="server" SelectMethod="GetComboItems"
                    TypeName="vHCS.SYS.Business.SYS_UsersCollection" MaximumRowsParameterName="">
                    <SelectParameters>
                        <asp:Parameter Name="prefix" DefaultValue="" DbType="String" />
                        <asp:Parameter Name="addNullItem" DefaultValue="true" Type="Boolean" />
                        <asp:Parameter Name="getTop" DefaultValue="true" Type="Boolean" />
                    </SelectParameters>
                </core:CoreDataSource>
            </div>
            <div class="label">
                <asp:Label ID="Label106" runat="server" Text="Position Class Standard"></asp:Label></div>
            <div class="control">
                <telerik:RadComboBox ID="cboPCStandard" runat="server" Width="80%" AllowCustomText="false"
                    MarkFirstMatch="true" OnClientFocus="ShowDropDown" DataTextField="Name" DataValueField="Id"
                    DataSourceID="dtsPCStandard" Filter="Contains" OnClientSelectedIndexChanging="chkPC.OnClientSelectedIndexChanging"
                    OnClientLoad="chkPC.OnClientLoad" OnClientDropDownClosing="chkPC.OnClientDropDownClosing"
                    OnClientBlur="chkPC.OnClientBlur">
                    <ItemTemplate>
                        <div style="width: 100%" onclick="chkPC.OnClick(this,event);">
                            <asp:CheckBox runat="server" ID="chkPC" onclick="chkPC.OnClick(this,event);"
                                Text="" />
                            <%# DataBinder.Eval(Container, "Text") %>
                        </div>
                    </ItemTemplate>
                    <FooterTemplate>
                        <div class="divButton">
                            <asp:LinkButton ID="btnSelectAll" OnClientClick="chkPC.SelectAll();return false;"
                                CssClass="selectAll" runat="server" Text="Chọn tất cả"></asp:LinkButton>
                            <asp:LinkButton ID="btnUnSelectAll" OnClientClick="chkPC.DeselectAll();return false;"
                                CssClass="deselectAll" runat="server" Text="Bỏ chọn"></asp:LinkButton>
                        </div>
                    </FooterTemplate>
                </telerik:RadComboBox>
                <br />
                <core:CoreDataSource ID="dtsPCStandard" runat="server" SelectMethod="GetPCFrọmobLevel"
                    TypeName="vHCS.LS.Business.LS_JobLevelCollection" MaximumRowsParameterName="">
                    <SelectParameters>
                        <asp:Parameter Name="p_bAddNullItem" DefaultValue="false" DbType="Boolean" />
                        <asp:Parameter Name="Activity" DefaultValue="Standard" DbType="String" />
                        <asp:ControlParameter ControlID="cboCapbac" Name="LSjoblevelID" DbType="Int64" PropertyName="SelectedValue" />
                    </SelectParameters>
                </core:CoreDataSource>
            </div>
            <div class="divClear">
            </div>
        </div>

        <div class="div4Column" style="display:none">
            <div >
                <div class="label">
                    <asp:Label ID="Label107" runat="server" Text="Position Class Apply"></asp:Label></div>
                <div class="control">
                    <telerik:RadComboBox ID="cboPCApply" runat="server" Width="80%" AllowCustomText="false"
                        MarkFirstMatch="true" OnClientFocus="ShowDropDown" DataTextField="Name" DataValueField="Id"
                        DataSourceID="dtsPCApply">
                    </telerik:RadComboBox>
                    <br />
                    <core:CoreDataSource ID="dtsPCApply" runat="server" SelectMethod="GetPCFrọmobLevel"
                        TypeName="vHCS.LS.Business.LS_JobLevelCollection" MaximumRowsParameterName="">
                        <SelectParameters>
                            <asp:Parameter Name="p_bAddNullItem" DefaultValue="true" DbType="Boolean" />
                            <asp:Parameter Name="Activity" DefaultValue="Apply" DbType="String" />
                            <asp:ControlParameter ControlID="cboCapbac" Name="LSjoblevelID" DbType="Int64" PropertyName="SelectedValue" />
                        </SelectParameters>
                    </core:CoreDataSource>
                </div>
            </div>
            <div class="divClear">
            </div>
        </div>
        <div style="display: none">
            <div class="div4Column" style="text-align: right">
                <asp:HyperLink ID="hplMatchCV_Bot" NavigateUrl="#" runat="server" Text="Match CV"
                    Visible="False"></asp:HyperLink>
                <asp:HyperLink ID="hplTask_Bot" NavigateUrl="#" runat="server" Text="Task" Visible="False"></asp:HyperLink>
                <asp:HyperLink ID="hplPost_Bot" NavigateUrl="#" runat="server" Text="Post Job" Visible="False"></asp:HyperLink>
                <div class="divClear">
                </div>
            </div>
        </div>
    </div>
    <div class="divClear">
    </div>
    <div class="formTitle">
        <div class="formToolbar">
            <asp:Button ID="btnSave_Bot" runat="server" Text="Submit" CssClass="btnSave" OnClick="btnSave_Top_Click"
                ValidationGroup="Save" />
            <asp:Button ID="btnThemMoi_Bot" runat="server" Text="Refresh" CssClass="btnRefresh"
                OnClick="btnThemMoi_Top_Click" />
            <%--<asp:Button ID="btnExport_Bot" runat="server" Text="Xuất DL" CssClass="btnExport"
                OnClick="btnExport_Top_Click" />--%>
            <%--<asp:Button ID="btnList_Bot" runat="server" Text="Danh sách" CssClass="btnList"
                OnClick="btnList_Top_Click" />--%>
        </div>
    </div>

    <telerik:RadAjaxManager ID="ajaxManager" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="cboChucvu">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="cboCapbac" LoadingPanelID="ajaxLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="cboProChart" LoadingPanelID="ajaxLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="cboMgtChart" LoadingPanelID="ajaxLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="cboSoftSkill" LoadingPanelID="ajaxLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="cboProSkill" LoadingPanelID="ajaxLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="cboProSkill" LoadingPanelID="ajaxLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="cboMoTa" LoadingPanelID="ajaxLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="cboPCStandard" LoadingPanelID="ajaxLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="cboPCApply" LoadingPanelID="ajaxLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="txtPCID" LoadingPanelID="ajaxLoadingPanel" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="cboCapbac">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="cboPCStandard" LoadingPanelID="ajaxLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="cboPCApply" LoadingPanelID="ajaxLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="txtPCID" LoadingPanelID="ajaxLoadingPanel" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="cboMoTa">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="txtTenJob" LoadingPanelID="ajaxLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="cboCapbac" LoadingPanelID="ajaxLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="cboProChart" LoadingPanelID="ajaxLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="cboMgtChart" LoadingPanelID="ajaxLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="cboSoftSkill" LoadingPanelID="ajaxLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="cboProSkill" LoadingPanelID="ajaxLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="cboTrinhDoHocVan" LoadingPanelID="ajaxLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="chkSuDung" LoadingPanelID="ajaxLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="txtMoTaTiengViet" LoadingPanelID="ajaxLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="txtMoTaTiengAnh" LoadingPanelID="ajaxLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="txtYeuCauTiengViet" LoadingPanelID="ajaxLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="txtYeuCauTiengAnh" LoadingPanelID="ajaxLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="txtUuTienTiengViet" LoadingPanelID="ajaxLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="txtUuTienTiengAnh" LoadingPanelID="ajaxLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="cboLanguageSkill" LoadingPanelID="ajaxLoadingPanel" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="cboNguoiYeuCau">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="txtBoPhan" LoadingPanelID="ajaxLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="txtPhongBan" LoadingPanelID="ajaxLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="txtRequester" LoadingPanelID="ajaxLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="txtRequesterRole" LoadingPanelID="ajaxLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="hdfIDRequesterRole" LoadingPanelID="ajaxLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="txtIDBoPhan" LoadingPanelID="ajaxLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="txtIDPhongBan" LoadingPanelID="ajaxLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="txtIDCongTy" LoadingPanelID="ajaxLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="cboDepartment" LoadingPanelID="ajaxLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="hdfBoPhanName" LoadingPanelID="ajaxLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="hdfPhongBanName" LoadingPanelID="ajaxLoadingPanel" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="cboDepartment">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="txtIDBoPhan" LoadingPanelID="ajaxLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="txtIDPhongBan" LoadingPanelID="ajaxLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="hdfBoPhanName" LoadingPanelID="ajaxLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="hdfPhongBanName" LoadingPanelID="ajaxLoadingPanel" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <telerik:RadAjaxLoadingPanel ID="ajaxLoadingPanel" runat="server">
    </telerik:RadAjaxLoadingPanel>
    <asp:CustomValidator ID="CustomValidator2" runat="server" ValidationGroup="Save"
        Display="Dynamic" ClientValidationFunction="CheckDeptArea"></asp:CustomValidator>
    <telerik:RadCodeBlock ID="radCodeBlock" runat="server">
        <script type="text/javascript">

            var tooltip_SoftSkill = new SetToolTip("cboSoftSkill", "rttSoftSkill");
            var SoftSkill = new CheckBoxInRadCombo("<%=cboSoftSkill.ClientID %>", "<%=cboSoftSkill.ClientID %>");

            var tooltip_ProSkill = new SetToolTip("cboProSkill", "rttProSkill");
            var ProSkill = new CheckBoxInRadCombo("<%=cboProSkill.ClientID %>", "<%=cboProSkill.ClientID %>");


            var tooltip_LanguageSkill = new SetToolTip("cboLanguageSkill", "rttLanguageSkill");
            var LanguageSkill = new CheckBoxInRadCombo("<%=cboLanguageSkill.ClientID %>", "<%=cboLanguageSkill.ClientID %>");

            var treeMgtChart = new TreeViewInRadCombo("<%=cboMgtChart.ClientID%>", "trvMgtChart");
            var treeProChart = new TreeViewInRadCombo("<%=cboProChart.ClientID%>", "trvProChart");

            var treeProJobChart = new TreeExpandCollapse("<%=trvProChartClientId %>");
            var treeMgtJobChart = new TreeExpandCollapse("<%=trvMgtChartClientId %>");

            var tooltip_prochart = new SetToolTip("cboProChart", "rttProChart_input");
            var tooltip_mgtchart = new SetToolTip("cboMgtChart", "rttMgtChart_Input");

            var chkPC = new CheckBoxInRadCombo("<%=cboPCStandard.ClientID %>", "<%=hdfPCStandard.ClientID %>");

            function SetEmpty(sender, event) {
                if (sender.get_value() == "") {
                    sender.set_text("");
                }
            }
            function SetToolTip(senderid, tooltipid) {
                this.SetToolTip_OrChart = function (sender, args) {
                    var id = sender.get_id();
                    var rtt = $find(id.replace(senderid, tooltipid));
                    rtt.set_text(sender.get_text());
                }
            }
            CheckReplace();
            function CheckReplace() {
                var rdLyDoID = document.getElementById("MainContent_rdlLyDoTuyen_1");
                var rdLyDoID3 = document.getElementById("MainContent_rdlLyDoTuyen_2");
                var divReplaceFor = document.getElementById("divReplaceFor");
                if (rdLyDoID.checked || rdLyDoID3.checked) {
                    divReplaceFor.style.display = "";
                } else {
                    divReplaceFor.style.display = "none";
                }
            }

            function CheckDeptArea(source, args) {
                var Dept = document.getElementById("<%=txtPhongBan.ClientID%>");
                var Area = document.getElementById("<%=txtBoPhan.ClientID%>");
                if (Dept.value == "" || Area.value == "") {
                    new Message().ShowObject(alertmsg_12624);
                    args.IsValid = false;
                    return false;
                }
                return true;
            }
            function checkProJob(source, args) {
                var ProJob = document.getElementById("<%=cboProChart.ClientID%>");
                var temp = ProJob.value.split('->');
                if (temp != "" && temp.length < 3) {
                    args.IsValid = false;
                    return false;
                }
                return true;

            }

            function ClosePage() {
                var win = new WindowManager().GetRadWindow();
                win.close();
            }

            function LoadMaximize() {
                try {
                    var win = new WindowManager().GetRadWindow();
                    if (win != null) {
                        win.maximize();
                    }
                }
                catch (err) {
                }
            }

            function CusMota(sender, args) {
                var vnMota = $find("<%= txtMoTaTiengViet.ClientID %>");
                var enMota = $find("<%= txtMoTaTiengAnh.ClientID %>");
                if (vnMota.get_text() == '' && enMota.get_text() == '') {
                    args.IsValid = false;
                }
                else
                    args.IsValid = true;
            }

            function CusRequire(sender, args) {
                var vnRequire = $find("<%= txtYeuCauTiengViet.ClientID %>");
                var enRequire = $find("<%= txtYeuCauTiengAnh.ClientID %>");
                if (vnRequire.get_text() == '' && enRequire.get_text() == '')
                    args.IsValid = false;
                else
                    args.IsValid = true;
            }
        </script>
    </telerik:RadCodeBlock>
</asp:Content>
